package com.light.gulimall.ware.feign;

import com.light.gulimall.ware.entity.OrderEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient("gulimall-order")
public interface OrderRemotesServiceClient {

    @GetMapping("/order/order/ware/{orderSn}")
    OrderEntity getOrder(@PathVariable("orderSn") String orderSn);
}
